package com.seckillpro.seckill_pro.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Package: com.SecKillpro.SecKill_pro.vo
 * @ClassName: LoginVO
 * @Author: lyx
 * @CreateTime: 2021/3/3 11:36
 * @Description: 登录参数
 */

@Data
public class LoginVo {

    @NotNull
    private String mobile;

    @NotNull
    @Length(min = 32)
    private String password;
}
